
<extend name="Person/index" />

<block name="edit">

	<div class="row" style="height:600px;margin-top:20px;min-height:600px;"> 
		<div class="col-md-12">
			<!-- <{$list.id}> -->
			<form action="<{:U('Person/upload',array('id'=>$list['id']))}>" method='post' enctype="multipart/form-data" class="form-horizontal">

				<div class="form-group" style="">
					<label for="" class="col-sm-2 control-label">手机号 ：</label>
					<div class="col-sm-4">
						<input type="text" name="phone" class="form-control" value="<{$list.phone}>" readonly>
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">昵称 : </label>
					<div class="col-sm-4">
						<input  type="text" name="name" value="<{$list.name}>" class="form-control" placeholder="请输入用户名">
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">修改密码 : </label>
					<div class="col-sm-4">
						<input  type="password" name="userpass" class="form-control" placeholder="请输入密码">
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">确认密码 : </label>
					<div class="col-sm-4">
						<input  type="password" name="repassword" class="form-control" placeholder="请再次输入密码">
					</div>
				</div>
				<div class="form-group" style="">
					<label for="" class="col-sm-2 control-label">性别 ：</label>
					<div class="col-sm-4">
						<input type="radio" name="sex" value="0" <if condition="$list.sex eq '0'">checked</if>>女
						<input type="radio" name="sex" value="1" <if condition="$list.sex eq '1'">checked</if>>男
						<input type="radio" name="sex" value="2" <if condition="$list.sex eq '2'">checked</if>>保密
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">邮箱 ：</label>
					<div class="col-sm-4">
						<input type="email" name="email" value="<{$list.email}>" class="form-control" placeholder="请输入您的邮箱">
					</div>
				</div>
				
				<div class="form-group" style="">
					<label for="" class="col-sm-2 control-label">上传头像 ：</label>
					<div class="col-sm-4">
						<input type="file" name="icon" class="form-control">
					</div>
				</div>
				<div class="form-group">
				    <div class="col-sm-offset-2 col-sm-4">
				      <button type="submit" class="btn btn-default">保 存</button>
				    </div>
				</div>
		
			</form>
		</div>
	</div>
	
</block>